package common.library.models;

import android.hardware.Camera;

public class Size {
    public int width;

    public int height;

    public Size() {
    }

    public Size(int width, int height) {
        this.width = width;
        this.height = height;
    }

    public Size(android.util.Size size) {
        this.width = size.getWidth();
        this.height = size.getHeight();
    }

    public Size(Camera.Size size) {
        this.width = size.width;
        this.height = size.height;
    }
}
